<template>
  <div id="app">
    <tar-bar v-if="$route.meta.isNav"></tar-bar>
    <fade> <router-view /></fade>
  </div>
</template>
<script>
import fade from "./components/fade.vue";
import TarBar from "./components/TarBar.vue";
export default {
  components: {
    TarBar,fade
  },
};
</script>
<style>
* {
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
#app {
  width: 10rem;
  margin: auto;
  /* background-color: red; */
}
</style>
